package com.zmn.uac.api;

import com.zmn.framework.web.config.FastJsonHttpMessageConverterConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Import;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 类描述：
 *
 * @author xujie
 * @since 2021/05/18 16:25
 */
@EnableCaching
@SpringBootApplication(scanBasePackages = {"com.zmn.uac", "com.zmn.manager.common"}, exclude = {DataSourceAutoConfiguration.class, MongoDataAutoConfiguration.class})
@EnableTransactionManagement
@Import({FastJsonHttpMessageConverterConfiguration.class})
public class ZmnUacApiApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZmnUacApiApplication.class, args);
    }
}
